@charset "utf-8";
@import './modules/reset';
@import './modules/header';
@import './modules/footer';

// 头部下面的副导航
.subnav{
    height: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ececec;
    line-height: 40px;
}

// 放大镜部分
.content{
    position: relative;
    #box{
        display: flex;
        justify-content: space-between;
        .left{
            width: 400px;
            .show{
                position: relative;
                img{
                    width: 400px;
                    height: 400px;
                }
            }
            ul{
                display: flex;
                justify-content: space-evenly;
                align-items: center;
                margin-top: 20px;
                border: 1px solid #ececec;
                padding: 5px;
                li{
                    border:1px solid #5F91DC;
                    // padding: 5px;
                    img{
                        width: 50px;
                        height: 50px;
                    }
                }
                
            }
        }
        .right{
            width: 600px;
            h3{
                font-size: 25px;
            }
            p{
                margin-top: 18px;
                margin-bottom: 18px;
            }
            section{
                color: #0077DB;
                font-size: 18px;
                font-weight: bold;
                em{
                    font-size: 14px;
                    margin-left: 3px;
                    color: #212529;
                    font-weight: normal;
                }
            }
            ul{
                width: 100%;
                li{
                    width: 45%;
                    height: 40px;
                    border: 1px solid #5F91DC;
                    border-radius: 5px;
                    float: left;
                    margin-left: 28px;
                    margin-bottom: 10px;
                    text-align: center;
                    line-height: 40px;
                    font-size: 14px;
                    select{
                        width: 100%;
                        height: 100%;
                    }
                }
                .opt{
                    border: none;
                }
                .count{
                    border: none;
                    input{
                        border: 1px solid #e2e2e2;
                        height: 40px;
                        box-sizing: border-box;
                        text-align: center;
                        font-size: 14px;
                        background: #fff;
                    }
                    .btn{
                        width: 48px;
                        cursor: pointer;
                    }
                }
                .addToCar{
                    a{
                        color: #5F91DC;
                    }
                }
                .purchase{
                    background:#5F91DC;
                    &:hover{
                        background: #004E8D;
                    }
                    a{
                        color: #fff;
                        
                    }
                }
            }
        }
        
    }
    .warning{
        width: 200px;
        height: 100px;
        background: rgba(0,0,0,.6);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 40px;
        color: red;
        position: fixed;
        left: 50%;
        top: 50%;
        border-radius: 40px;
        margin-left: -100px;
        margin-top: -50px;
        opacity: 0;
        position: absolute;
    }
}

// 商品详情
.detail{
    margin-top: 20px;
    ul{
        border: 1px solid #e2e2e2;
        height: 40px;
        li{
            width: 33.33%;
            text-align: center;
            height: 40px;
            line-height: 40px;
            font-size: 14px;
            float: left;
            background: #e2e2e2;
            &:hover{
                background: #fff;
            }
            a{
                color: #5F91DC;
            }
        }
        .active{
            background: #fff;
        }
    }
    .title{
        padding-left: 10px;
        border-left: 3px solid #5F91DC;
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    p{
        margin-bottom: 10px;
    }
    img{
        margin-top: 20px;
    }

    //相关商品
    .picScroll-left {
        overflow: hidden;
        position: relative;
        width: 1100px;
        height: 360px;
        // margin: 0 auto;
    }
    .picScroll-left .hhd {
        // overflow: hidden;
        // height: 80px;
        // padding: 0 10px;
        position: absolute;
        top: 50%;
        margin-top: -40px;
        width: 100%;
        box-sizing: border-box;
    }
    .picScroll-left .hhd .prev {
        display: block;
        width: 40px;
        height: 80px;
        overflow: hidden;
        float: left;
        cursor: pointer;
        background: url("/images/index/ctrl1.png") no-repeat 0 0;
    }
    .picScroll-left .hhd .next {
        display: block;
        width: 40px;
        height: 80px;
        float: right;
        overflow: hidden;
        cursor: pointer;
        background: url("/images/index/ctrr1.png") no-repeat 0 0;
    }
    // .tempWrap {
    //     margin: 0 auto;
    // }
    .picScroll-left .bd {
        // padding: 10px;
        height: 360px;
    }
    .picScroll-left .bd ul {
        overflow: hidden;
        width: 1700px;
        height: 360px;
        border: none;
        // zoom: 1;
    }
    .picScroll-left .bd ul section {
        // margin: 0 8px; 
        float: left;
        /* overflow: hidden; */
        text-align: center;
        width: 300px;
        height: 360px;
        padding-left: 40px;
    }
    .picScroll-left .bd ul section .pic {
        text-align: center;
        height: 360px;
        width: 300px;
    }
    .picScroll-left .bd ul section .pic > a{
        width: 200px;
        height: 200px;
        margin: 0 auto;
        display: block;
    }
    .picScroll-left .bd ul section .pic > h2,.picScroll-left .bd ul section .pic > h3{
        font-size: 14px;
    }
    .picScroll-left .bd ul section .pic > p{
        color: #5f91dc;
        font-weight: 550;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .picScroll-left .bd ul section .pic > p del{
        color: grey;
        font-weight: 400;
    }
    .picScroll-left .bd ul section .pic > a:nth-of-type(2){
        display: block;
        width: 120px;
        height: 40px;
        border: 2px solid #b5d2ff;
        text-align: center;
        line-height: 40px;
        font-size: 18px;
        font-weight: 550;
        color: #bcd2ff;
    }
    .picScroll-left .bd ul section .pic img {
        width: 200px;
        height: 200px;
        display: block;
    }
    // .picScroll-left .bd ul li .pic a:hover img {
    //     border-color: #999;
    // }
    .picScroll-left .bd ul section .title {
        line-height: 24px;
    }
}

/* 相关商品 */
